package com.bsoft.gol.hcs.visitrecord.bean.vo;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * Created by ChenJij on 2020/12/29.
 */
@XmlRootElement(name = "Data")
public class QueryDrugstoreListVo {
    private List<DrugstoreInfo> DrugstoreInfos;

    @XmlElementWrapper(name = "DrugstoreInfos")
    @XmlElement(name = "DrugstoreInfo")
    public List<DrugstoreInfo> getDrugstoreInfos() {
        return DrugstoreInfos;
    }

    public void setDrugstoreInfos(List<DrugstoreInfo> drugstoreInfos) {
        DrugstoreInfos = drugstoreInfos;
    }

    public static class DrugstoreInfo{
        private String pharmacyType;
        private String pharmacyCode;
        private String pharmacyName;

        @XmlElement(name = "PharmacyType")
        public String getPharmacyType() {
            return pharmacyType;
        }

        public void setPharmacyType(String pharmacyType) {
            this.pharmacyType = pharmacyType;
        }

        @XmlElement(name = "PharmacyCode")
        public String getPharmacyCode() {
            return pharmacyCode;
        }

        public void setPharmacyCode(String pharmacyCode) {
            this.pharmacyCode = pharmacyCode;
        }

        @XmlElement(name = "PharmacyName")
        public String getPharmacyName() {
            return pharmacyName;
        }

        public void setPharmacyName(String pharmacyName) {
            this.pharmacyName = pharmacyName;
        }
    }
}